<?php 
	function isShowMenu($rule,$title){
		$rule = strtolower($rule);

	    $Auth  =  new \Think\Auth();

	    if($_SESSION['adminname']!= 'admin'){

			if($Auth->check($rule,$_SESSION['adminid'])){
				echo  '<li><a _href="'.U($rule).'" href="javascript:void(0)">'.$title.'</a></li>';
			}
		}else{
			echo  '<li><a _href="'.U($rule).'" href="javascript:void(0)">'.$title.'</a></li>';
		}

	}
 ?>